-- GENERATED SPELL FOR [Rorgish Jowl] --


function spell0_10639(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_10639', 652, 1)
end

function Sorts_10639(pUnit, Event)
local choix_sorts_10639 = math.random(0, 0)
if choix_sorts_10639 == 0 then
pUnit:RegisterEvent('spell0_10639', 1, 1)
end
end

function mob10639_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10639', math.random(1500, 3000), 1)
end

function mob10639_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10639_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10639_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10639, 1, 'mob10639_Action')
RegisterUnitEvent(10639, 2, 'mob10639_Leave')
RegisterUnitEvent(10639, 3, 'mob10639_Kill')
RegisterUnitEvent(10639, 4, 'mob10639_Die')
